<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
<!--
#content {
	margin-right: auto;
	margin-left: auto;
	background-image: url(images/bk.jpg);
	background-repeat: no-repeat;
	width: 1000px;
	height: 600px;
}
#left {
	float: left;
	width: 400px;
}
#right {
	float: right;
	width: 600px;
}
#wai {
	background-color: #EADFC1;
}
#dengluo {
	width: 300px;
	margin-top: 130px;
	margin-left: 120px;
	font-size: 22px;
	line-height: 30px;
	color: #333333;
	font-style: normal;
	text-decoration: none;
}
#forget {
	color: #000000;
	font-size: 25px;
	margin-left: 30px;
	margin-top: 65px;
	line-height: 30px;
}
#r-title {
	padding-top: 10px;
	font-size: 30px;
	color: #714339;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333333;
}
a:link, a:visited {
	color: #333333;
	text-decoration: none;	
}
a:hover, a:active {
	color: #000066;
	
}
-->
</style>
<script type="text/javascript"> 
function changeimg() 
{ 
var myimg = document.getElementById("code"); 
now = new Date(); 
myimg.src="code.jsp?code="+now.getTime();
} 
</script>
</head>

<body>
<div id="wai">
  <div id="content">
    <div id="left"></div>
    
    <div id="right">
      <div id="dengluo">
      <div id="r-title">欢迎使用个人博客系统</div>
	  <form action="index.php?r=site/login" method="POST" name="LoginForm">
      <p>用户：<input type="text" name="LoginForm[username]" size="25" /></p>
      <p> 密码：<input type="password" name="LoginForm[password]" size="25"></p>
	  <input type="submit" value="登录" onClick="">&nbsp;&nbsp;
	 &nbsp;&nbsp;<input type="reset"value="重置" onClick="resetForm()">
	 
	  <a href="fgpsw.html">&nbsp;忘记密码 </a><a href="fgpsw.html"></a>
        <div id="forget">&nbsp;&nbsp;<a href="<?php echo $this->createUrl('user/create');?>">免费注册</a></a></div>    
      </div>
      </form>
      
    </div>
  </div>
</div>
</body>
</html>
<script type="text/javascript">
function resetForm()
{
	document.LoginForm.reset(); 
}
</script>